package com.task.core.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.task.core.domain.SystemSettingInfo;
import com.task.core.dto.request.SysSettingModifyRequestDTO;
import com.task.core.dto.request.SysSettingRequestDTO;

/**
 * @author 迪迦.
 * @date 2025/2/10 11:23
 */
@Mapper
public interface SysSettingMapper {

  List<SystemSettingInfo> getAllSetting(SysSettingRequestDTO request);

  Integer modifySettingByCode(SysSettingModifyRequestDTO request);

  List<SystemSettingInfo> getSettingByType(SysSettingRequestDTO request);

  SystemSettingInfo getSettingByTypeAndKey(SysSettingRequestDTO request);
}
